-
Notifications
You must be signed in to change notification settings - Fork 116
Add deduction guides for blocked_nd_range #651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deduction guides for blocked_nd_range #651
Conversation
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Ruslan Arutyunyan <[email protected]>
Co-authored-by: Ruslan Arutyunyan <[email protected]>
…m/kboyarinov/oneAPI-spec into blocked_nd_range-deduction-guides
| blocked_nd_range(const Value (&)[N], typename blocked_nd_range<Value, N>::size_type = 1) | ||
| -> blocked_nd_range<Value, N>; | ||
| template </*see-below*/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer keeping the previous:
template <typename Value>
blocked_nd_range(/*a set of braced-init-lists of Value objects*/)
-> blocked_nd_range<Value, /*number of braced-init-lists*/>;
And then the detailed description provides the two options for how to do that. What's currently here seems even less clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might add the "see-below" comment in addition, like blocked_nd_range(/*a set of braced-init-lists of Value objects (see-below)*/)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied the combined approach with the comment below.
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_nd_range_cls.rst
Outdated
Show resolved
Hide resolved
…d_nd_range_cls.rst Co-authored-by: Alexey Kukanov <[email protected]>
…d_nd_range_cls.rst Co-authored-by: Alexey Kukanov <[email protected]>
…d_nd_range_cls.rst Co-authored-by: Alexey Kukanov <[email protected]>
…d_nd_range_cls.rst Co-authored-by: Alexey Kukanov <[email protected]>
…d_nd_range_cls.rst Co-authored-by: Alexey Kukanov <[email protected]>
No description provided.